import Vue from 'vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Main from './pages/Main.vue';

Vue.use(ElementUI);

Vue.config.productionTip = false

// 引入echarts
import echarts from 'echarts'
//一般都要加个$加到vue的原型链上，方便引用
Vue.prototype.$echarts = echarts 

new Vue({
  el: '#app',
  render (h) {
    return h(Main);
  }
})